<?php 
Route::group(['prefix' => 'commodity'],function(){

	Route::get('get-types','CommodityController@getTypes');

	Route::post('add-type','CommodityController@addType');

	Route::post('update-type','CommodityController@updateType');

	Route::post('delete-type','CommodityController@deleteType');

	Route::get('get-commodities','CommodityController@getCommodities');

	Route::get('get-commodity','CommodityController@getCommodity');

	Route::post('add-commodity','CommodityController@addCommodity');

	Route::post('update-commodity','CommodityController@updateCommodity');

	Route::post('delete-commodity','CommodityController@deleteCommodity');
});
